Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to query deb packages for host #1233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dosas
Copy link
Collaborator

@dosas dosas commented Oct 10, 2024

Description of changes

Add possibility to query deb packages for host

Upstream API documentation, plugin, or feature links

There is no up to date foreman documentation online but the api is listed here

Functional demonstration
ipdb> host.debs({"per_page": 20})
{'total': 385, 'subtotal': 385, 'selectable': 385, 'page': 1, 'per_page': 20, 'error': None, 'search': None, 'sort': {'by': 'name', 'order': 'asc'}, 'results':  ...
Additional Information

possible PRT test tests/foreman/api/test_errata.py

@dosas dosas added CherryPick PR needs CherryPick to previous branches 6.14.z 6.15.z 6.16.z labels Oct 10, 2024
@omkarkhatavkar
Copy link
Contributor

Can one of the admins verify this patch?

@ogajduse ogajduse requested a review from a team October 14, 2024 09:41
@ColeHiggins2
Copy link
Member

Looks fine to me. Just adding a new entity and updating path, will not affect current automation

@dosas
Copy link
Collaborator Author

dosas commented Oct 22, 2024

@ColeHiggins2 @vijaysawant I do not have merge rights, could one of you merge this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.14.z 6.15.z 6.16.z CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants